package cn.iocoder.yudao.module.tms.controller.admin.accountperiodtodo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Schema(description = "管理后台 - 取消待办 Request VO")
@Data
public class CancelTodoReqVO {

    @Schema(description = "待办ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "待办ID不能为空")
    private Long id;

    @Schema(description = "取消原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "客户已提前结算")
    @NotEmpty(message = "取消原因不能为空")
    private String reason;
}
